package com.LCQ.crm.workbench.dao;

import com.LCQ.crm.workbench.domain.Tran;

import java.util.List;
import java.util.Map;

public interface TranDao {

    int insert(Tran tran);
    int getCountAll();

    List<Tran> getPageListByCond(Map<String, Object> map);

    int getCountByCond(Map<String, Object> map);

    Tran getDetailById(String id);

    Tran getById(String id);

    int update(Tran tran);
}
